import request from './index'

export const ListGoodsAPI = data => request({
  url: 'goods',
  method: 'POST',
  data
})

export const ListAPI = params => request({
  url: 'goods',
  method: 'GET',
  params
})
